package com.zhang.Decorator.example;

/**
 * @author ElloeStudy(Sifa Zhang)
 * @create 2022-03-09 23:22
 * To: 真常应物，真常得性，常清常静，常清静矣
 */
public class SortDecorator extends Decorator{
    public SortDecorator(SchoolReport sr) {
        super(sr);
    }
    private void reportSort(){
        System.out.println("我是排名为38名----");
    }

    @Override
    public void report() {
        super.report();
        this.reportSort();
    }
}
